package org.openwebtop.sunshine.subversion.model;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class DiffResult {
	private String filepath;
	private long currentRivision;
	private long previousRevision;
	private String diffContents;

	public DiffResult() {
	}

	public String getFilepath() {
		return filepath;
	}

	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}

	public long getCurrentRivision() {
		return currentRivision;
	}

	public void setCurrentRivision(long currentRivision) {
		this.currentRivision = currentRivision;
	}

	public long getPreviousRevision() {
		return previousRevision;
	}

	public void setPreviousRevision(long previousRevision) {
		this.previousRevision = previousRevision;
	}

	public String getDiffContents() {
		return diffContents;
	}

	public void setDiffContents(String diffContents) {
		this.diffContents = diffContents;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

}
